<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>质量知识基本信息</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="${ctx}/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="${ctx}/qbdmsStatic/iconfont/iconfont.css"/>
    <link rel="stylesheet" href="${ctx}/qbdmsStatic/style/qbdms.css">
    <script type="text/javascript">
        var __ctx = "${ctx}";
    </script>
    <style>
        .qbdms-TBinformation {
            margin-left: 0
        }
    </style>
</head>
<body class="listBody qbdms-particulars">
<div class="qbdms-bodyDiv">
    <div class="qbdms-backDiv">
        <div class="layui-table-view-body" style="padding: 0 24px 24px;">
            <div class="qbdms-formTitle" style="border-bottom: 1px solid #E5F0FF">依据标准维护 <i class="qbdms-returnOn closeWindow">返回</i></div>
            <form class="layui-form treeFormPreview" requrl="${ctx}/qbdms/wQbdAccordingStandard/get" lay-filter="wQbdAccordingStandardDataForm">
                <div class="" style="width: 100%;overflow-x: auto">
                    <table class="tableExcel qbdms-zeroTable" width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tbody>
                            <tr id="tbxx"></tr>
                            <tr>
                                <td class="qbdms-zeroTable-lable">依据标准<span style="color: red;">*</span></td>
                                <td colspan="5" name="accordingStandard"></td>
                            </tr>
                            <tr>
                                <td class="qbdms-zeroTable-lable">排序号<span style="color: red;">*</span></td>
                                <td colspan="5" name="sortId"></td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <#if isClose != 'true'>
                    <div class="layui-form-item btnformItem">
                        <p>
                            <button type="reset" id="closeWindow" class="layui-btn layui-btn-sm btn-save qbdms-oneBtnLine">返回</button>
                        </p>
                    </div>
                </#if>
                <!--<div id="tbxx"></div>
                <div class="layui-row">
                    <div style="width: 56%">
                        <label class="layui-form-label qbdms-label" title="依据标准">依据标准<span style="color: red;">*</span></label>
                        <div class="layui-input-block qbdms-input">
                            <input type="text" name="accordingStandard" placeholder="请输入" lay-verify="required" lay-reqtext="依据标准是必填项" autocomplete="off" class="layui-input" maxlength="50">
                        </div>
                    </div>
                    <div style="width: 56%">
                        <label class="layui-form-label qbdms-label" title="排序号">排序号<span style="color: red;">*</span></label>
                        <div class="layui-input-block qbdms-input">
                            <input type="text" id="sortId" name="sortId" placeholder="请输入" lay-verify="required" lay-reqtext="排序号是必填项" autocomplete="off" class="layui-input" maxlength="50">
                        </div>
                    </div>
                </div>-->
            </form>
        </div>
    </div>
</div>
<script src="${ctx}/qbdmsStatic/public/configFile.js"></script>
<script src="${ctx}/layui/layui.js"></script>
<script>
    layui.config({
        base: serverPath.qbdmsPath + staticPath.qbdmsPath //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'setter', 'common', 'jquery', 'publicMethods'], function () {
        var common = layui.common;
        var $ = layui.jquery;
        var publicMethods = layui.publicMethods;
        //关闭当前页面
        $("#closeWindow,.closeWindow").click(function () {
            window.location.href = serverPath.qbdmsPath + '/qbdms/wQbdAccordingStandard/view/list';
        });

        common.updateForm({
            name: 'wQbdAccordingStandardDataForm',
            idValue: "${id}",
            primary: "id",
            getCallback: function (data) {
                $("#tbxx").html("<td class='qbdms-zeroTable-lable'>填报信息:</td><td colspan='5' class=''>【" + data.data.filldept + " | " + data.data.fillman + " | " + data.data.filldate + "】</td>");
                // $("#tbxx").html("<span class='qbdms-TBinformation'>填报信息:</span><span class='qbdms-TBinformationText'>【" + data.data.filldept + " | " + data.data.fillman + " | " + data.data.filldate + "】</span>");
            }
        });

        if ("${isClose}" == "true") {
            $(".closeWindow").hide();
        }
        publicMethods.bottomFixd()
        $("body *").not("#closeWindow").attr("disabled", "disabled");
        /*$(".uploadFileCont .qbdms-fileUp,.uploadFileCont i,.addFormTr1").hide();
        $(".uploadFileCont").each(function () {
            if ($(this).children('.uploadFileList').children().length == 0) {
                $(this).children('.uploadFileList').append("<span style='color: #C0C4CC'>未上传</span>")
            }
        })*/
    });
</script>
</body>
</html>